package cn.itsource.system.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * Log：日志实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Log {
    private BigInteger id;

    private Long operId;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime operTime;

    private String className;

    private String methodName;

    private String returnValue;

    private String ip;
}
